import QtQuick 2.15
import QtQuick.Controls 2.2
import QtQuick.Layouts
import QtQuick.Controls.Material
import "."
Dialog {
        property double radius: WQTheme.radius
        id: dialog
        implicitWidth: 300
        implicitHeight: 200
        //closePolicy: Popup.NoAutoClose //非popup
        //modal: true
        background: Rectangle {
            anchors.fill: parent
            radius: dialog.radius  // 此处修改局部圆角大小
        }
        Label {
            
            anchors.centerIn: dialog
            text: "Dialog Content"
            horizontalAlignment: Text.AlignLeft //左对齐
            verticalAlignment: Text.AlignHCenter //顶对齐
            // anchors.centerIn: parent
        }
}    